﻿<Window x:Class="P2PChat.Client.UI.WinMsgBox"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WinMsgBox" Height="391" Width="600" MinWidth="600" xmlns:my="clr-namespace:P2PChat.Client.UI" Loaded="Window_Loaded">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200" />
            <ColumnDefinition Width="8" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Rectangle Grid.ColumnSpan="1" Margin="0" Name="rectangle1">
            <Rectangle.Stroke>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="Lime" Offset="0" />
                    <GradientStop Color="#FFC0FFC0" Offset="1" />
                </LinearGradientBrush>
            </Rectangle.Stroke>
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="#FFC0FFC0" Offset="0" />
                    <GradientStop Color="White" Offset="0.545" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <Rectangle Grid.Column="2" Margin="0,0,0,32" Name="rectangle2" Width="Auto" Fill="White">
            <Rectangle.Stroke>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="#FFC0FFC0" Offset="1" />
                    <GradientStop Color="Lime" Offset="0" />
                </LinearGradientBrush>
            </Rectangle.Stroke>
        </Rectangle>
        <ScrollViewer Margin="0" Name="scrollViewer1" />
        <StackPanel Grid.ColumnSpan="1" Margin="0" Name="panel_Group">
            <my:FriendList_Entry x:Name="friendList_Entry1" UserName="张三" OverridedInfo="1条新消息" />
            <my:FriendList_Entry x:Name="friendList_Entry2" UserName="王五" OverridedInfo="3条新消息" />
        </StackPanel>
        <ScrollViewer Grid.Column="2" Margin="0,0,0,32" Name="scrollViewer2">
            <StackPanel Height="Auto" Name="panel_Friend" Width="Auto">
                <Label Content="你好" Height="28" Name="label1" />
            </StackPanel>
        </ScrollViewer>
        <Button Content="已读" Grid.Column="2" Height="23" HorizontalAlignment="Left" Margin="295,329,0,0" Name="btn_SetRead" VerticalAlignment="Top" Width="75" Background="#FFE6E6E6" />
        <Button Content="聊天" Grid.Column="2" Height="23" HorizontalAlignment="Left" Margin="214,329,0,0" Name="btn_OpenChat" VerticalAlignment="Top" Width="75" Background="#FFDBFFDB" BorderBrush="#FF00C000"></Button>
    </Grid>
</Window>
